package com.example.test0.model;

import lombok.Data;

@Data
public class RestBean {
    String status;
    String msg;

    public RestBean() {
        status = "nouser";
        msg = "Please Again";
    }

    public RestBean(String status) {
        this.status = status;
        msg = "msg mis";
    }

    public RestBean(String status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public String toString() {
        return "status: " + status
                + "\nmsg: " + msg;

    }
}
